/*
 *    Copyright (c) 2018-2025, st All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: st
 */

package com.mkh.st.admin.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 租户
 *
 * @author st
 * @date 2019-05-15 15:55:41
 */
@Data
@ApiModel(value = "租户信息")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysTenant extends Model<SysTenant> {

	private static final long serialVersionUID = 1L;
	/**
	 * 租户主键
	 */
	@TableId
	@ApiModelProperty(value="租户主键")
	private Long id;
	/**
	 * 租户名称
	 */
	@ApiModelProperty(value="租户名称")
	private String tenantName;
	/**
	 * 租户编码
	 */
	@ApiModelProperty(value="租户编码")
	private String tenantCode;
	/**
	 * 最大用户数
	 */
	@ApiModelProperty(value="最大用户数")
	private Integer maxUserCount;
	/**
	 * 手机号码
	 */
	@ApiModelProperty(value="手机号码")
	private String phoneNumber;

	@ApiModelProperty(value="备注信息")
	private String remark;
	/**
	 * 启用状态 1启用 0冻结
	 */
	@ApiModelProperty(value="启用状态 1启用 0冻结")
	private Integer status;
	/**
	 *
	 */
	@ApiModelProperty(value="")
	private LocalDateTime createTime;
	/**
	 *
	 */
	@ApiModelProperty(value="")
	private LocalDateTime updateTime;
	/**
	 * 删除标志位，1 表示删除，0 表示未删除
	 */
	@ApiModelProperty(value="删除标志位，1 表示删除，0 表示未删除")
	private Integer delFlag;

	@ApiModelProperty(value="联系人")
	private String contact;

	@ApiModelProperty(value="用户id")
	private Long userId;

}
